<template>
	<view>
		<view class="con-top">
			<view class="top-box">
				<image src="../../static/image/consult/write.png" mode=""></image>
				<view class="">
					1.描述问题
				</view>
			</view>
			<view class="line">
				----->
			</view>
			<view class="top-box">
				<image src="../../static/image/consult/pay.png" mode=""></image>
				<view class="">
					2.支付费用
				</view>
			</view>
			<view class="line">
				----->
			</view>
			<view class="top-box">
				<image src="../../static/image/consult/loaing.png" mode=""></image>
				<view class="">
					3.律师响应
				</view>
			</view>
		</view>
		<view class="cent">
			<textarea v-model="question" placeholder-class="place" placeholder="请简单描述您的问题,律师接单后快速给您答复" />
		</view>
		<view class="intr">
			<view class="">
				选择问题类型，精准匹配律师
			</view>
			<view class="type">
				
				<text>不限专长</text>
				<image src="../../static/image/xiangxia.png" mode="" class="arrow"></image>
			</view>
			
		</view>
		<view class="line2"></view>
		<view class="text">
			共有108090位律师可以解决该问题
		</view>
		<view class="">
			<scroll-view class="scroll-view_H" scroll-x="true" scroll-left="0">
				<view style="display:inline-block;margin:0 20rpx;padding-left: 20rpx;" v-for="item in 10" :key="item">
					<view class="scroll-box" @tap="jumpLawerDetail">
						<image src="../../static/image/banner.png" mode=""></image>
						<view class="name">
							黄树真律师
						</view>
						<view class="year">
							执业五年
						</view>
					</view>
				</view>
			    
			</scroll-view>
		</view>
		<view class="btn">
			下一步
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				question:"",
			}
		},
		methods: {
			jumpLawerDetail(){
				uni.navigateTo({
					url:"/pages/lawerIndex/lawerIndex"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.con-top{
	display: flex;
	justify-content: space-around;
	width: 98%;
	margin: 10px auto 0;
	align-items: center;
	.top-box{
		display: flex;
		flex-direction: column;
		align-items: center;
		font-size: 18rpx;
		color: #666;
		image{
			width: 50rpx;
			height:50rpx;
		}
		view{
			margin: 10rpx 0 0 0 ;
		}
	}
	.line{
		margin:  0 0 40rpx 0;
		color: #ccc;
	}
}
.cent {
	> textarea{
		background-color: #f2f2f2;
		margin: 20px 0 10rpx;
		padding: 20rpx;
		letter-spacing: 1rpx;
		font-size: 26rpx;
		height: 200rpx;
		width: 90%;
		box-sizing: border-box;
	}
}
.place{
	font-size: 23rpx;
	letter-spacing: 1rpx;
}
.intr{
	width: 90%;
	background-color: #f2f2f2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15rpx 10rpx;
	margin: 10rpx auto 10rpx;
	font-size: 25rpx;
	box-sizing: border-box;
	.type{
		display: flex;
		align-items: center;
		.arrow{
			width: 25rpx;
			height: 30rpx;
			transform: rotate(90deg);
			margin: 0 0 0 10rpx;
		}
	}
}
.line2{
	width: 90%;
	border-bottom: 1rpx solid #f2f2f2;
	margin: 30rpx auto 30rpx;
}
.text{
	text-align: center;
	font-size: 28rpx;
	color: #1CBBB4;
	margin: 20rpx;
}
.btn{
	background-color: #66AAFF;
	color: #fff;
	border-radius: 3px;
	width: 95%;
	margin: 30rpx auto;
	text-align: center;
	font-size: 28rpx;
	padding: 15rpx 0;
}
.scroll-box{
	display: flex;
	flex-direction: column;
	align-items: center;
	image{
		width: 100rpx;
		height:100rpx;
		border-radius: 50%;
		
	}
	.name{
		font-size: 23rpx;
		margin: 10rpx 0;
	}
	.year{
		font-size: 18rpx;
		color: #1CBBB4;
		border-radius: 8px;
		background-color: #f1f1f1;
		padding: 5rpx 10rpx;
	}
}
.scroll-view_H{
	width: 100%;
	white-space: nowrap;
}
</style>
